package com.gxa.learning.pc.mapper;

import com.gxa.learning.core.pojo.Project;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ProjectMapper extends Mapper<Project> {
    List<Project> getByPage(String name, Date time, Integer status, String man, Date end, Integer page, Integer size);

    /**
     * 获取学员参加的培训
     *
     * @param map
     * @return
     */
    List<Map<String, Object>> getUserProject(Map<String, Object> map);


    List<Map<String, Object>> getProjectList(String projectName, String projectStatus, String projectMan);
}
